<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">会员类型:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-package_id" data-rule="required" class="form-control selectpicker" name="package_id">
				<option value="">请选择...</option>
                {foreach name="packages" item="vo"}
                    <option value="{$vo.id}" >{$vo.title}</option>
                {/foreach}
            </select>
            <input type="hidden" value="{{$user_id}}" name="ids">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
